home *** CD-ROM | disk | FTP | other *** search
- > The advantage of trapping unaligned accesses is that it reduces the number of
- > ARM-specific hacks that are needed. Various bits of the kernel assume that
-
- Its also a performance win big time to make the traps rare and to avoid
- handling the entire world badly
-
- egcs supports generating code that loads attribute(unaligned) fields
- with "safe" instructions. What I discussed on the phone with Russ was
- tweaking that a bit so its inheritable from variables - ie so we can
- write
-
- struct iphdr __unaligned *x=(struct iphdr __unaligned *)skb->h.raw;
-
-
- for the platforms its a problem
-
- Alan
- unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
-
-